{extend name="public/iframe" /}

{block name="top"}
{:load_assets('form','css')}
{/block}

{block name="content"}
<div class="card card-body {eq name='layout' value='dialog'}shadow-none{/eq}">									
    <form action="" method="post" id="validate-form">
        <div class="row mb-sm-3">
            <label  class="col-xxl-1 col-lg-2 col-sm-3 col-12 col-form-label required">类型</label>
            <div class="col-lg-10 col-sm-9 col-12 mt-sm-2 form-item">
                <div class="form-check form-check-custom  form-check-inline">
                    <label class="form-check-label">
                        <input class="form-check-input w-20px h-20px" type="radio" name="type"  value="1" checked data-rule="类型:checked"> 甲方
                    </label>
                </div>
                <div class="form-check  form-check-custom form-check-inline">
                    <label class="form-check-label">
                        <input class="form-check-input w-20px h-20px" type="radio" name="type"  value="2"> 尚玖
                    </label>
                </div>
                <div class="form-text text-muted">对接人来源类型</div>
            </div>
        </div>
        <div class="row mb-sm-3">
            <label  class="col-xxl-1 col-lg-2 col-sm-3 col-12 col-form-label required">姓名</label>
            <div class="col-lg-10 col-sm-9 col-12 form-item">
                <input type="text" class="form-control" name="name" value="" data-rule="姓名:required;length(2~10)">
            </div>
        </div>
        <div class="row mb-sm-3">
            <label  class="col-xxl-1 col-lg-2 col-sm-3 col-12 col-form-label">联系电话</label>
            <div class="col-lg-10 col-sm-9 col-12 form-item">
                <input type="text" class="form-control" name="tel" value="" data-rule="联系电话:length(~20)">
            </div>
        </div>
        
        <div class="row  mb-sm-3">
            <label  class="col-xxl-1 col-lg-2 col-sm-3 col-12 col-form-label required">排序</label>
            <div class="col-lg-10 col-sm-9 col-12 form-item">
                <input type="number" class="form-control" name="sort" value="100" data-rule="排序:required;integer;range(0~10000)">
                <span class="form-text text-muted">数字越小越排前</span>
            </div>
        </div>
        <div class="row mb-sm-3">
            <label  class="col-xxl-1 col-lg-2 col-sm-3 col-12 col-form-label required">状态</label>
            <div class="col-lg-10 col-sm-9 col-12 mt-sm-2 form-item">
                <div class="form-check form-check-custom  form-check-inline">
                    <label class="form-check-label">
                        <input class="form-check-input w-20px h-20px" type="radio" name="status"  value="1" checked data-rule="状态:checked"> 启用
                    </label>
                </div>
                <div class="form-check  form-check-custom form-check-inline">
                    <label class="form-check-label">
                        <input class="form-check-input w-20px h-20px" type="radio" name="status"  value="0"> 禁用
                    </label>
                </div>
                <div class="form-text text-muted">禁用后则不能在后台选择显示</div>
            </div>
        </div>
        <div class="row mb-sm-3">
            <label  class="col-xxl-1 col-lg-2 col-sm-3 col-12 col-form-label">备注</label>
            <div class="col-lg-10 col-sm-9 col-12 form-item">
                <input type="text" class="form-control" name="remark" value="" data-rule="备注:length(~50)">
            </div>
        </div>
        {include file="public/formfooter" /}
    </form>
</div>
{/block}

{block name="bottom"}
{:load_assets('form','js')}
{/block}